package com.orange.core.pojo.req.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

@Data
public class UserNicknameUpdateReq implements Serializable {

    /**
     * 昵称
     */
    @Size(max = 40, message = "昵称不能超过{max}字")
    @NotBlank(message = "请输入昵称")
    private String nickname;
}
